home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980901-19981211
/
000407_news@newsmaster….columbia.edu _Tue Dec 8 12:59:52 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA07826
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 8 Dec 1998 12:59:51 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA29621
for kermit.misc@watsun; Tue, 8 Dec 1998 12:59:51 -0500 (EST)
Path: news.columbia.edu!news.new-york.net!newsfeed.wirehub.nl!bullseye.news.demon.net!demon!news.demon.co.uk!demon!ccastat.demon.co.uk!not-for-mail
From: Chris Sharman <Chris.Sharman@CCAgroup.co.uk>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Changes 5A(190) -> 6.0(192) on VMS Alpha V7.1
Date: Tue, 08 Dec 1998 15:59:27 +0000
Organization: CCA Group
Message-ID: <366D4CDF.6603B5C4@CCAgroup.co.uk>
References: <366D2E6A.29BAB524@CCAgroup.co.uk> <74jfgs$ab4$1@apakabar.cc.columbia.edu>
NNTP-Posting-Host: ccastat.demon.co.uk
X-NNTP-Posting-Host: ccastat.demon.co.uk:158.152.158.126
X-Trace: news.demon.co.uk 913132763 nnrp-08:6539 NO-IDENT ccastat.demon.co.uk:158.152.158.126
X-Complaints-To: abuse@demon.net
X-Mailer: Mozilla 3.03Gold (X11; I; OpenVMS V7.1 AlphaStation 255/233)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 43
Xref: news.columbia.edu comp.protocols.kermit.misc:9614
VMS doesn't seem to care whether there's space around the '=', although
if there isn't I have to use \fsubstr(\&@[1],2) to strip the = off the
first parameter.
It won't accept either -- or = unless there's other switches or a
cmdfile preceding, as 5A used to.
It complains about '--' when it gets around to processing it as well.
What is getopt ? is it some sort of Unix thing ? (the only earlier
thread I found seemed to suggest it might be)
I just want to invoke kermit to use an embedded script in batch mode,
and pass in a couple of parameters.
No filename, no switches, just parameters.
Frank da Cruz wrote:
>
> In article <366D2E6A.29BAB524@CCAgroup.co.uk>,
> Chris Sharman <Chris.Sharman@CCAgroup.co.uk> wrote:
> : I just tried out the 6.0 image, and it's not letting me provide
> : parameters like I used to:
> :
> : $ mcr ckermit =param1 param2
> : my script ...
> : ...
> : $
> :
> : used to work fine on 5A(190), but 6.0(192) tells me "?No files match -
> : =param1". I put a redundant switch on (-m hayes), but the "m" was
> : then found as the first parameter by my script. Is there a better way
> : to pass in values, or am I reading them wrong, or what ?
> :
> It's a bug in 6.1. It will be fixed in the next test version, to be
> announced soon.
>
> But not that in any case, you need space both before and after the "="
> if you intend it to be the parameter separator. Also (refer to earlier
> thread on this topic), this form, though still supported, is
> "deprecated" in favor of the getopt()-style "--", as in:
>
> kermit filename -x -x -x -- p1 p2 p3
>
> where the -x's are Kermit options, and the pn's are paramaters for the
> script "filename".
>
> - Frank